home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / smail-3.2.tar.gz / smail-3.2.tar / smail-3.2 / conf / driver / bsd-network < prev    next >
Text File  |  1996-05-29  |  3KB  |  90 lines

  1. # @(#) bsd-network,v 1.6 1996/05/29 20:27:19 woods Exp
  2.  
  3. # this file lists the drivers used in a UNIX environment with
  4. # BSD networking functionality.
  5.  
  6. # to add a new driver, make a source file in the transports/, routers/, or
  7. # directors/ directory, whichever is appropriate, using the template
  8. # from that directory.  Then, add the name of the driver in this file
  9. # as a line of the form:
  10. #
  11. #    director  name    [flags]
  12. # or    router      name    [flags]
  13. # or    transport name    [flags]
  14. #
  15. # the following flags can follow name:
  16. #
  17. #    nocache        - signify that there is no routine to cache
  18. #              resources
  19. #    nofinish    - signify that there is no routine to free
  20. #              resources
  21. #    nobuilder    - signify that there is no routine to read entries
  22. #              from the section configuration file
  23. #    nodumper    - signify that there is no routine to dump the current
  24. #              driver dependant config out to a file.
  25. #    source=name    - specify the file containing the driver's source
  26. #              non-absolute names are relative to the appropriate
  27. #              source directory.  By default this is the
  28. #              name of the driver, with an extention of .c.
  29. #    header=name    - specify the header file which contains the
  30. #              current version number.  By default this is
  31. #              the source file with an extension of .h rather
  32. #              than .c.
  33. #
  34. # ordering is not important, though it can make this file easier to read
  35. #
  36. # non-driver library routines for a particular driver library can be
  37. # included using lines of the form:
  38. #
  39. #    director library  sourcefile...
  40. # or    router library      sourcefile...
  41. # or    transport library sourcefile...
  42. #
  43. # where sourcefile can be a .c or .h file, whose source is in the
  44. # appropriate driver source directory.  The objects are loaded into the
  45. # library in the order specified, making the order important if library
  46. # routines refer to each other.  Library source files are useful for
  47. # creating common code that can be used by multiple drivers.
  48.  
  49.  
  50. # director drivers
  51. director aliasinclude    source=include.c nocache nofinish
  52. director forwardinclude    source=include.c nocache nofinish
  53. director genericinclude    source=include.c nocache nofinish
  54. director aliasfile    nocache nofinish
  55. director forwardfile    nocache nofinish source=fwdfile.c
  56. director user        nocache nofinish
  57. director altuser    nocache nofinish
  58. director smartuser    nocache nofinish
  59.  
  60.  
  61. # router drivers
  62. router    pathalias    nocache nofinish
  63. router    uuname
  64. router    smarthost    nocache nofinish
  65. router    reroute        nocache nofinish
  66. router    rewrite        nocache nofinish
  67.  
  68. # note: the queryprogram driver is not used in default router configuration
  69. router    queryprogram    source=queryprog.c nocache nofinish
  70.  
  71. # use these only if you have BSD networking routines
  72. router    gethostbyname    source=gethost.c nocache nofinish
  73. router    gethostbyaddr    source=gethost.c nocache nofinish
  74.  
  75. # use this only if you have the Berkeley BIND package
  76. #router    bind        nocache nofinish
  77.  
  78. # this library source file is used by most routers above
  79. router library rtlib.c rtlib.h
  80.  
  81.  
  82. # transport drivers
  83. transport pipe        nocache nofinish
  84. transport appendfile    nocache nofinish
  85.  
  86. # use this only if you have BSD networking routines
  87. transport smtp        source=tcpsmtp.c nocache nofinish
  88. transport tcpsmtp    nocache nofinish
  89. transport library    smtplib.c smtplib.h
  90.